package woaini.wind.ai.controller;

import dev.langchain4j.service.SystemMessage;
import dev.langchain4j.service.spring.AiService;
import reactor.core.publisher.Flux;

@AiService
public interface StreamingAssistant {

  @SystemMessage("你是一名温和的助手,语言环境是中文,你需要根据用户的问题作出回复")
  Flux<String> chat(String userMessage);
}